﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Add:Calculate
    {
        public Add(int a, int b) : base(a, b) { 
        
        }
        public override void DisplayResult()
        {
            Console.WriteLine(a + b);
        }
    }
}
